CVE-2024-56681
crypto: bcm - add error check in the ahash_hmac_init function
Description
In the Linux kernel, the following vulnerability has been resolved: crypto: bcm - add error check in the ahash_hmac_init function The ahash_init functions may return fails. The ahash_hmac_init should not return ok when ahash_init returns error. For an example, ahash_init will return -ENOMEM when allocation memory is error.
INFO
Published Date :
Dec. 28, 2024, 10:15 a.m.
Last Modified :
Nov. 3, 2025, 9:18 p.m.
Remotely Exploit :
No
Source :
416baaa9-dc9f-4396-8d5f-8c081fb06d67
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] |
Solution
- Update the affected packages.
- Update the affected kernel package.
Public PoC/Exploit Available at Github
CVE-2024-56681 has a 1 public
PoC/Exploit available at Github.
Go to the Public Exploits tab to see the list.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-56681.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-56681 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-56681
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
None
JavaScript
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-56681 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-56681 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by af854a3a-2127-422b-91ae-364da2661108
Nov. 03, 2025
Action Type Old Value New Value Added Reference https://lists.debian.org/debian-lts-announce/2025/03/msg00001.html Added Reference https://lists.debian.org/debian-lts-announce/2025/03/msg00002.html -
Initial Analysis by [email protected]
Oct. 07, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H Added CWE NVD-CWE-noinfo Added CPE Configuration OR *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.12 up to (excluding) 6.12.2 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.7 up to (excluding) 6.11.11 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.16 up to (excluding) 6.1.120 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.11 up to (excluding) 5.15.174 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 5.5 up to (excluding) 5.10.231 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 6.2 up to (excluding) 6.6.64 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.11 up to (excluding) 4.19.325 *cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:* versions from (including) 4.20 up to (excluding) 5.4.287 Added Reference Type kernel.org: https://git.kernel.org/stable/c/05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/19630cf57233e845b6ac57c9c969a4888925467b Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/28f8ffa945f7d7150463e15097ea73b19529d6f5 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/4ea3e3b761e371102bb1486778e2f8dbc9e37413 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/75e1e38e5d80d6d9011b7322698ffba3dd3db30a Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/8f1a9a960b1107bd0e0ec3736055f5ed0e717edf Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ae5253313e0ea5f00c06176074592b7f493c8546 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/bba9e38c5ad41d0a88b22a59e5b6dd3e31825118 Types: Patch Added Reference Type kernel.org: https://git.kernel.org/stable/c/ee36db8e8203420e6d5c42eb9428920c2fc36532 Types: Patch -
New CVE Received by 416baaa9-dc9f-4396-8d5f-8c081fb06d67
Dec. 28, 2024
Action Type Old Value New Value Added Description In the Linux kernel, the following vulnerability has been resolved: crypto: bcm - add error check in the ahash_hmac_init function The ahash_init functions may return fails. The ahash_hmac_init should not return ok when ahash_init returns error. For an example, ahash_init will return -ENOMEM when allocation memory is error. Added Reference https://git.kernel.org/stable/c/05f0a3f5477ecaa1cf46448504afe9e7c2e96fcc Added Reference https://git.kernel.org/stable/c/19630cf57233e845b6ac57c9c969a4888925467b Added Reference https://git.kernel.org/stable/c/28f8ffa945f7d7150463e15097ea73b19529d6f5 Added Reference https://git.kernel.org/stable/c/4ea3e3b761e371102bb1486778e2f8dbc9e37413 Added Reference https://git.kernel.org/stable/c/75e1e38e5d80d6d9011b7322698ffba3dd3db30a Added Reference https://git.kernel.org/stable/c/8f1a9a960b1107bd0e0ec3736055f5ed0e717edf Added Reference https://git.kernel.org/stable/c/ae5253313e0ea5f00c06176074592b7f493c8546 Added Reference https://git.kernel.org/stable/c/bba9e38c5ad41d0a88b22a59e5b6dd3e31825118 Added Reference https://git.kernel.org/stable/c/ee36db8e8203420e6d5c42eb9428920c2fc36532